﻿@model Bids.Core.DomainObjects.Task
@using Bids.Service;
@using Autofac;
@using Autofac.Integration.Mvc;
@{
    ViewBag.Title = "确认信息";
    IUserContext userContext = AutofacDependencyResolver.Current.RequestLifetimeScope.Resolve<IUserContext>();
}
@section head
{
    <script src="/js/jquery.validate.js"></script>
    }
<!--第五步-->
<div class="wz">
    <img src="/images/wz.png" alt="img" width="518" height="75" /></div>
<div class="create_left">
    <a href="#">商业信息</a>
    <a href="#">目标市场</a>
    <a href="#">标志设计风格</a>
    <a href="#">金额设置</a>
    <a href="#" class="current">确认资料</a>
    <a href="#">付款</a>

</div>

<div class="index">
    <div class="index_top">
        <b>确认资料</b>
    </div>
    <div class="index_center">

        <div class="contest_brief_inside1" id="brief_complete">

            <p style="font-size: 12px; color: #202020;"><strong>公司名称：</strong> @Model.Company                                               
                <strong>行业类行：</strong>@Model.Trade.Name</p>
            <div style="line-height: 35px; font-size: 12px; color: #202020;">
                <strong>企业口号：</strong> 
                @Model.Slogan
                <br />
                <strong>企业理念：</strong> 
                @Model.BusinessPhilosophy
                <br />
                <strong>企业服务对像：</strong> 
                @Model.Custom
                <br />
                <strong>标志所体现的最重要的3个特性:</strong>
                <br />
                @{int i = 1;}
                @foreach (var item in Model.Feature.Split(','))
                {
                   @i@(".")@item @:<br />
                   i++;
                }
            </div>

            <table>
                <tbody>
                    <tr>
                        <td height="30" style="font-size: 12px;"><b>您希望的标志样式：</b></td>
                    </tr>

                    <tr>
                        <td style="font-size: 12px;">

                            @foreach (var item in Model.Styles)
                            {
                              <div class="styles2">
                                <div style="height: 135px; overflow: hidden;">
                                    
                                    <b>@item.Name</b>
                                     <div style="height: 132px;">
                                            @Html.Raw(item.Content)
                                        </div>
                                </div>
                            </div>  
                            }
                            
                        </td>
                    </tr>
                </tbody>
            </table>

            <div style="font-size: 12px; line-height: 35px; font-weight: bold; color: #202020;">
                标志名称：@Model.Name<br />
                标志含有的字母或数字（可选）：@Model.LettersOrNumbers<br />
                标志含有的文字（可选）：@Model.Characters<br />
                标志要表现的价值观：
            </div>
            @{var expression = Model.Expression.Split(',');}
            <table style="color: #111; font-size: 14px; font-weight: bold;">
                <tbody>
                    <tr>
                        <td width="45"><span id="feminine" style="opacity: @(1-decimal.Parse(expression[0])/100m)">女人</span></td>
                        <td width="330" style="padding: 10px; width: 300px;">
                            <div id="sl-fem" class="ui-slider ui-slider-horizontal ui-widget ui-widget-content ui-corner-all">
                                <a href="#" class="ui-slider-handle ui-state-default ui-corner-all" style="left: @(expression[0])%;"></a>
                            </div>
                           
                        </td>
                        <td width="99" style="padding-left: 20px;"><span id="masculine" style="opacity: @(decimal.Parse(expression[0])/100m)">男人</span></td>
                    </tr>

                    <tr>
                        <td width="45"><span id="young" style="opacity: @(1-decimal.Parse(expression[1])/100m)">年轻</span></td>
                        <td style="padding: 10px; width: 300px;">
                            <div id="sl-you" class="ui-slider ui-slider-horizontal ui-widget ui-widget-content ui-corner-all">
                                <a href="#" class="ui-slider-handle ui-state-default ui-corner-all" style="left: @(expression[1])%;"></a>

                            </div>
                           
                        </td>
                        <td style="padding-left: 20px;"><span id="mature" style="opacity: @(decimal.Parse(expression[1])/100m)">成熟</span></td>
                    </tr>

                    <tr>
                        <td width="45"><span id="luxory" style="opacity: @(1-decimal.Parse(expression[2])/100m)">奢侈</span></td>
                        <td style="padding: 10px; width: 300px;">
                            <div id="sl-lux" class="ui-slider ui-slider-horizontal ui-widget ui-widget-content ui-corner-all">
                                <a href="#" class="ui-slider-handle ui-state-default ui-corner-all" style="left: @(expression[2])%;"></a>

                            </div>
                            
                        </td>
                        <td style="padding-left: 20px;"><span id="economical" style="opacity: @(decimal.Parse(expression[2])/100m)">经济</span></td>
                    </tr>

                    <tr>
                        <td width="45"><span id="modern" style="opacity: @(1-decimal.Parse(expression[3])/100m)">现代</span></td>
                        <td style="padding: 10px; width: 300px;">
                            <div id="sl-mod" class="ui-slider ui-slider-horizontal ui-widget ui-widget-content ui-corner-all">
                                <a href="#" class="ui-slider-handle ui-state-default ui-corner-all" style="left: @(expression[3])%;"></a>

                            </div>
                            
                        </td>
                        <td style="padding-left: 20px;"><span id="classic" style="opacity: @(decimal.Parse(expression[3])/100m)">经典</span></td>
                    </tr>

                    <tr>
                        <td width="45"><span id="playful" style="opacity: @(1-decimal.Parse(expression[4])/100m)">调皮</span></td>
                        <td style="padding: 10px; width: 300px;">
                            <div id="sl-pla" class="ui-slider ui-slider-horizontal ui-widget ui-widget-content ui-corner-all">
                                <a href="#" class="ui-slider-handle ui-state-default ui-corner-all" style="left: @(expression[4])%;"></a>

                            </div>
                            
                        </td>
                        <td style="padding-left: 20px;"><span id="serious" style="opacity: @(decimal.Parse(expression[4])/100m)">严肃</span></td>
                    </tr>

                    <tr>
                        <td width="45"><span id="loud" style="opacity: @(1-decimal.Parse(expression[5])/100m)">喧闹</span></td>
                        <td style="padding: 10px; width: 300px;">
                            <div id="sl-lou" class="ui-slider ui-slider-horizontal ui-widget ui-widget-content ui-corner-all">
                                <a href="#" class="ui-slider-handle ui-state-default ui-corner-all" style="left: @(expression[5])%;"></a>

                            </div>
                           
                        </td>
                        <td style="padding-left: 20px;"><span id="quiet" style="opacity: @(decimal.Parse(expression[5])/100m)">安静</span></td>
                    </tr>

                    <tr>
                        <td width="45"><span id="simplex" style="opacity: @(1-decimal.Parse(expression[6])/100m)">简单</span></td>
                        <td style="padding: 10px; width: 300px;">
                            <div id="sl-sim" class="ui-slider ui-slider-horizontal ui-widget ui-widget-content ui-corner-all">
                                <a href="#" class="ui-slider-handle ui-state-default ui-corner-all" style="left: @(expression[6])%;"></a>

                            </div>
                            
                        </td>
                        <td style="padding-left: 20px;"><span id="complex" style="opacity: @(decimal.Parse(expression[6])/100m)">复杂</span></td>
                    </tr>

                    <tr>
                        <td width="45"><span id="subtle" style="opacity: @(1-decimal.Parse(expression[7])/100m)">微妙</span></td>
                        <td style="padding: 10px; width: 300px;">
                            <div id="sl-sub" class="ui-slider ui-slider-horizontal ui-widget ui-widget-content ui-corner-all">
                                <a href="#" class="ui-slider-handle ui-state-default ui-corner-all" style="left: @(expression[7])%;"></a>

                            </div>
                           
                        </td>
                        <td style="padding-left: 20px;"><span id="obvious" style="opacity: @(decimal.Parse(expression[7])/100m)">明显</span></td>
                    </tr>

                </tbody>
            </table>

            <div style="font-size: 12px; line-height: 38px; font-weight: bold; color: #202020; padding-top: 10px;">
                喜欢颜色能用在标志上：@Model.GoodColor<br />
                不喜欢颜色用在标志上：@Model.BadColor<br />
                标志的想法或一些额外的信息：@Model.Extraneous<br />
                上传文档：@(Session["ExtraneousFile"]!=null?((HttpPostedFileBase)Session["ExtraneousFile"]).FileName:"无")<br />
                标志会在哪里使用：
                @foreach (var item in Model.UsedFor)
                {
                    @item.Name @:,
                }
                <br />
                设计套餐:@Model.SetMeal.Name<br />
                是否保密:@(Model.KeepSecret?"是":"否")
                <p style="color: #f00; text-align: center;">设计金额合计:  @Model.Cost 元</p>
            </div>


        </div>
        <form id="myform" action="Step_6" method="post">
        <table width="870" border="0" align="center" style="border-top: 1px solid #444;">
           @if(!userContext.IsLogined || userContext.User.UserType == Bids.Core.DomainObjects.UserType.设计师)
           {
             <tr>
                <td height="39" colspan="2" style="font-family: '微软雅黑'; font-size: 20px; font-weight: bold;">请输入您的联系方式</td>
            </tr>
            <tr>
                <td height="30" width="200">
                    <div align="right">
                        <label style="color: #f00;">*</label>
                        手机：</div>
                </td>
                <td>
                    <input name="Phone" type="text" class="border1 required mobile" remote="/account/checkname"/></td>
            </tr>
            <tr>
                <td height="35">
                    <div align="right">Email：</div>
                </td>
                <td>
                    <input name="Email" type="text" class="border1 email" remote="/account/checkname"/></td>
            </tr>
            <tr>
                <td height="42">
                    <div align="right">
                        <label style="color: #f00;">*</label>密码：</div>
                </td>
                <td>
                    <input name="Password" type="password" id="Password" class="border1 required" minlength="6" /></td>
            </tr>
               <tr>
                <td height="42">
                    <div align="right">
                        <label style="color: #f00;">*</label>确认密码：</div>
                </td>
                <td>
                    <input name="Password2" type="password" equalto="#Password" class="border1 required"/></td>
            </tr>
           }
            <tr>
                <td colspan="2">
                    <p style="margin-left: 220px;">
                        <input name="" type="submit" value=" " class="green" />
                        @if(!userContext.IsLogined || userContext.User.UserType == Bids.Core.DomainObjects.UserType.设计师)
                        {
                        <label style="color: #f00;">(带* 号的为必填选项）</label>
                        }
                    </p>
                </td>
            </tr>
        </table>
</form>
        <div>
        </div>

    </div>
    <div class="index_bottom"></div>
</div>

